package com.guide.spzx.manager.mapper;

import com.guide.spzx.model.dto.system.SysRoleDto;
import com.guide.spzx.model.entity.system.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Auther: fengyj
 * @Date: 2023/10/31
 * @Description: IntelliJ IDEA
 * @version:
 */
@Mapper
public interface SysRoleMapper {
    public abstract List<SysRole> findByPage(SysRoleDto sysRoleDto);

    public abstract void saveSysRole(SysRole sysRole);

    public abstract void updateSysRole(SysRole sysRole);

    public abstract void deleteById(Long roleId);

    public abstract List<SysRole> findAllRoles();
}
